<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css">
		<!-- jquery Mobile -->
		<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
		<script src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
		<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.css" />
		<link rel="stylesheet" href="css/weui.css">
		<link rel="stylesheet" href="css/style.css" />
		<script>$.mobile.ajaxEnabled = false;</script>
		<title>16.商品发布</title>
		<style>d
		#opcitybg{
			background-color: rgba(0, 0, 0, 0.4);
			color:#FFFFFF;
			font-family: "microsoft yahei";
			font-size: 1em;
		}
		</style>
		
	</head>
	<body>
		<div data-role="page" class="bg01">
			<div data-role="header" data-position="fixed" id="opcitybg">
				<a id="headop" href="c_sellerManue.html" data-role="button" data-icon="home" data-iconpos="notext"></a>
				<h1>发布商品</h1>
				<a id="headop" href="c_productList.html" data-role="button" data-icon="search"
					data-iconpos="notext"></a>
			</div>
			
			<div data-role="content">
				<form method="post" action="demoform.asp">
				      <label for="fname">请输入商品名称：</label>
				      <input type="text" name="fname" id="fname" data-clear-btn="true">
					  <label for="fname">请输入商品价格：</label>
					  <input type="text" name="fname" id="fname" data-clear-btn="true">
					  <label for="fname">请选择商品分类：</label>
					  <select name="value" id="value">
					      <option value="electron">电子产品</option>
					      <option value="paper">纸质产品</option>
					      <option value="cosmetic">化妆品类</option>
					      <option value="daily">生活用品</option>
					      <option value="clothe">衣物</option>
					  </select>
					  <label for="fname">请选择商品成色：</label>
					  <select name="rank" id="rank">
					      <option value="new">全新</option>
					      <option value="alnew">几乎全新</option>
					      <option value="lit">轻微使用痕迹</option>
					      <option value="obv">明显使用痕迹</option>
					  </select>
				    </form>
				<form method="post" action="demoform.php">					
					<div class="ui-field-contain">		
					    <label for="info">商品信息:</label>
					    <textarea name="addinfo" id="info" type="text" name="userName" id="userName" placeholder="买家都关心产品型号、入手渠道、转手原因……"></textarea>
					</div>
				</form>
				<form>
				    <div class="weui-cells">
				        <div class="weui-cell weui-cell_select weui-cell_select-after">
				            <div class="weui-cell__hd">
				                <label for="" class="weui-label">地区</label>
				            </div>
				            <div class="weui-cell__bd">
				                <input class="weui-input" type="text" id="selectArea" name="city" placeholder="请输入所在地区" readonly>
				            </div>
				        </div>
				    </div>
				</form>
				
				<div data-role="footer" data-position="fixed" id="footerbg">
					<div data-role="navbar">
						<ul>
							<li><a href="s_Publish_product list.html" >发布</a></li>
							
						</ul>
					</div>
				</div>
				
				<script src="js/weui.min.js"></script>
				<script src="js/city.js"></script>
				<script>
				    $(function () {
				        // 点击所在地区
				        $('#selectArea').on('click', function () {
				            // 地址三级联动
				            weui.picker(cityData3, {
				                defaultValue: ["110000", "110100", "110101"],
				                onConfirm: function (result) {
				                    var str = "";
				                    var cityArr = [];
				                    result.map(function (i, val) {
				                        str += i["label"] + ' ';
				                        cityArr.push(i["value"]);
				                    });
				                    $("#selectArea").val(str);
				                    $("#selectArea").attr("cityArr", cityArr);
				                }
				            })
				        });
				    })
				</script>
			</div>

		</div>
	</body>
</html>
